package demo5;

import org.springframework.stereotype.Component;
@Component("summer")
public class shirt implements clothes
{
    public void wear()
    {
        System.out.println("shirt play");
    }
}
